﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Devsoft.Web.Mvc
{
    class ManualCommitController : Controller
    {
        protected override void OnActionExecuted(ActionExecutedContext filterContext)
        {
            base.OnActionExecuted(filterContext);
            var db = Devsoft.DB.Models.DBRouter.Default.CurrentDataContext;
            //db.Connection.Close();
            db.Dispose();
        }
    }
}
